| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

InfiniteBitMask.h
1 // InfiniteBitMask.h
3 //
5
6 namespace nkGraphics
7 {
11 class InfiniteBitMask
12 {
13 public :
14
18 InfiniteBitMask () ;
22 InfiniteBitMask (const InfiniteBitMask& other) ;
26 InfiniteBitMask (InfiniteBitMask&& other) ;
30 ~InfiniteBitMask () ;
31
38 void setBit (unsigned int index, bool value) ;
42 void clear () ;
43
48 bool getBit (unsigned int index) const ;
52 unsigned int getOrder () const ;
53
62 bool checkSubPartEquality (const InfiniteBitMask& other, unsigned int begin, unsigned int end) const ;
63
70 std::vector<bool>::reference operator[] (size_t index) ;
77 bool operator[] (size_t index) const ;
78
85 bool operator== (const InfiniteBitMask& other) const ;
92 bool operator!= (const InfiniteBitMask& other) const ;
99 bool operator< (const InfiniteBitMask& other) const ;
100
107 InfiniteBitMask& operator= (const InfiniteBitMask& other) ;
114 InfiniteBitMask& operator= (InfiniteBitMask&& other) ;
115 } ;
116 }
nkGraphics::InfiniteBitMask::getBit
bool getBit(unsigned int index) const
nkGraphics::InfiniteBitMask::operator==
bool operator==(const InfiniteBitMask &other) const
nkGraphics::InfiniteBitMask::operator=
InfiniteBitMask & operator=(const InfiniteBitMask &other)
nkGraphics::InfiniteBitMask::checkSubPartEquality
bool checkSubPartEquality(const InfiniteBitMask &other, unsigned int begin, unsigned int end) const
nkGraphics::InfiniteBitMask::InfiniteBitMask
InfiniteBitMask(const InfiniteBitMask &other)
nkGraphics::InfiniteBitMask::getOrder
unsigned int getOrder() const
nkGraphics::InfiniteBitMask::InfiniteBitMask
InfiniteBitMask()
nkGraphics::InfiniteBitMask::operator[]
std::vector< bool >::reference operator[](size_t index)
nkGraphics::InfiniteBitMask::clear
void clear()
nkGraphics::InfiniteBitMask::~InfiniteBitMask
~InfiniteBitMask()
nkGraphics::InfiniteBitMask::operator<
bool operator<(const InfiniteBitMask &other) const
nkGraphics::InfiniteBitMask::setBit
void setBit(unsigned int index, bool value)
nkGraphics::InfiniteBitMask
A utility class providing "infinite" masks, formed by bits, or booleans.
Definition: InfiniteBitMask.h:12
nkGraphics::InfiniteBitMask::InfiniteBitMask
InfiniteBitMask(InfiniteBitMask &&other)
nkGraphics::InfiniteBitMask::operator!=
bool operator!=(const InfiniteBitMask &other) const
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7